{notempty name="config['type']"}
{php}if(in_array('Qq',$config['type'])){{/php}
<a href="{:addons_url('synclogin://Base/login',array('type'=>'qq'))}" onclick="layer.msg('正在通过QQ登入', {icon:16, shade: 0.1, time:0})" class="iconfont icon-qq" title="QQ登入"></a>
{php}}{/php}
{php}if(in_array('Sina',$config['type'])){{/php}
<a href="{:addons_url('synclogin://Base/login',array('type'=>'sina'))}" onclick="layer.msg('正在通过微博登入', {icon:16, shade: 0.1, time:0})" class="iconfont icon-weibo" title="微博登入"></a>
{php}}{/php}
{php}if(in_array('Weixin',$config['type'])){{/php}
<a href="{:addons_url('synclogin://Base/login',array('type'=>'weixin'))}" onclick="layer.msg('正在通过微信登入', {icon:16, shade: 0.1, time:0})" class="iconfont icon-weixin" title="微信登入"></a>
{php}}{/php}
{/notempty}